<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="avicit.platform6.commons.utils.ViewUtil"%>
<%@page import="avicit.platform6.core.locale.PlatformLocalesJSTL"%>
<%@page import="java.util.Locale"%>
<%@page import="avicit.platform6.api.session.SessionHelper"%>
<%@page import="avicit.platform6.api.sysshirolog.impl.AfterLoginSessionProcess"%>
<%
    Object lang = session
            .getAttribute(AfterLoginSessionProcess.SESSION_CURRENT_LANGUAGE_CODE);
    String languageCode = "zh_CN";
    if (lang != null) {
        languageCode = lang.toString();
    }
    Locale locale = SessionHelper.getLocaleByUser(request);
%>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>配置</title>
    <base href="<%=ViewUtil.getRequestPath(request)%>">
    <jsp:include
            page="/avicit/platform6/component/common/EasyUIJsInclude.jsp"></jsp:include>
    <jsp:include page="/avicit/im/common/ImUIJSCSSInclude.jsp"></jsp:include>
    <script type="text/javascript"
            src="avicit/im/lantop/basic/reportmanager/locale/language_<%=languageCode%>.js"></script>
</head>
<script type="text/javascript">
    var sysId = '${sysId}';
    var templateId = '${templateId}';
    var configType = '10';
    var outPutFields = '${outputFields}';
    var selectIndex;  //选择行下标
    $(function() {
        //初始化表
        $('#reportConfigDetailsDataGrid').datagrid({
            onAfterEdit : function(rowIndex, rowData, changes) {//在用户完成编辑一行的时候触发，参数包括：rowIndex：编辑行的索引，索引从0开始。rowData：对应于完成编辑的行的记录。changes：更改后的字段(键)/值对。
                selectIndex = rowIndex;
            },
            onClickRow : function(rowIndex, rowData) {
                $('#reportConfigDetailsDataGrid').datagrid('endEdit', selectIndex);//结束编辑行
                $('#reportConfigDetailsDataGrid').datagrid('selectRow', rowIndex).datagrid('beginEdit', rowIndex);//选择一行，行索引从0开始；开始编辑行
                var ew = $('#reportConfigDetailsDataGrid').datagrid('getEditor', {index:rowIndex, field:'configFieldNum'});
                //禁止combobox下拉
                $(ew.target).combobox('readonly', true);
                selectIndex = rowIndex;
            }
        });
        $('#reportConfigDetailsDataGrid2').datagrid({
            onAfterEdit : function(rowIndex, rowData, changes) {//在用户完成编辑一行的时候触发，参数包括：rowIndex：编辑行的索引，索引从0开始。rowData：对应于完成编辑的行的记录。changes：更改后的字段(键)/值对。
                selectIndex = rowIndex;
            },
            onClickRow : function(rowIndex, rowData) {
                $('#reportConfigDetailsDataGrid2').datagrid('endEdit', selectIndex);//结束编辑行
                $('#reportConfigDetailsDataGrid2').datagrid('selectRow', rowIndex).datagrid('beginEdit', rowIndex);//选择一行，行索引从0开始；开始编辑行
                var ew = $('#reportConfigDetailsDataGrid2').datagrid('getEditor', {index:rowIndex, field:'configFieldNum'});
                //禁止combobox下拉
                $(ew.target).combobox('readonly', true);
                var ed = $('#reportConfigDetailsDataGrid2').datagrid('getEditor', {index:rowIndex, field:'reportCountSymbol'});
                $(ed.target).attr('disabled','disabled');
                selectIndex = rowIndex;
            }
        });

        //切换tabs进行数据刷新
        $('#reoprtConfigTabs').tabs({
            border : false,
            onSelect : function(title) {
                if(title == '<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.groupconfigtabs","i18n.lantop",locale)%>'){
                    configType = '10';
                    $('#reportConfigDetailsDataGrid').datagrid('reload', {});
                    $('#reportConfigDetailsDataGrid').datagrid('unselectAll');
                }else if(title == '<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.countconfigtabs","i18n.lantop",locale)%>'){
                    configType = '20';
                    $('#reportConfigDetailsDataGrid2').datagrid('reload', {});
                    $('#reportConfigDetailsDataGrid2').datagrid('unselectAll');
                }
            }
        });

    });

    //添加
    function report_add() {
        $('#reportConfigDetailsDataGrid').datagrid('endEdit', selectIndex);
        $('#reportConfigDetailsDataGrid2').datagrid('endEdit', selectIndex);
        if(configType == '10'){
            $('#reportConfigDetailsDataGrid').datagrid('insertRow', {
                index : 0,
                row : {sysId : sysId}
            });
            $('#reportConfigDetailsDataGrid').datagrid('selectRow', 0).datagrid('beginEdit', 0);
            var eq = $('#reportConfigDetailsDataGrid').datagrid('getEditor', {index:0, field:'configFieldNum'});
            $(eq.target).combobox('readonly', true);
        }else if(configType == '20'){
            $('#reportConfigDetailsDataGrid2').datagrid('insertRow', {
                index : 0,
                row : {sysId : sysId}
            });
            $('#reportConfigDetailsDataGrid2').datagrid('selectRow', 0).datagrid('beginEdit', 0);
            var eq = $('#reportConfigDetailsDataGrid2').datagrid('getEditor', {index:0, field:'configFieldNum'});
            $(eq.target).combobox('readonly', true);
            var ed = $('#reportConfigDetailsDataGrid2').datagrid('getEditor', {index:0, field:'reportCountSymbol'});
            $(ed.target).attr('disabled','disabled');
        }
        selectIndex = 0;
    }

    //保存
    /**
     *commonLang.tip.alert:提示
     *lengthByReportRemake:说明长度不能超过255个字符！
     *notNullByReportOutputNum:输出字段位置不能为空！
     *notNullByReportOutputName:输出字段名称不能为空!
     *saveSuccess:保存成功
     *saveFailure:保存失败
     *toSaveHasOneDate:至少添加或修改一条数据进行保存
     */
    function report_save() {
        $('#reportConfigDetailsDataGrid').datagrid('endEdit', selectIndex);
        $('#reportConfigDetailsDataGrid2').datagrid('endEdit', selectIndex);
        var rows = null;
        if(configType == '10'){
            rows = $('#reportConfigDetailsDataGrid').datagrid('getChanges');
        }else if(configType == '20'){
            rows = $('#reportConfigDetailsDataGrid2').datagrid('getChanges');
        }
        if (rows.length > 0) {
            for ( var i = 0; i < rows.length; i++) {
                if(typeof(rows[i].remark) != "undefined" ){
                    var lenRemark = rows[i].remark.replace(/([^\u0000-\u00FF])/g, "aa").length;
                    if (lenRemark > 255) {
                        $.messager.alert(commonLang.tip.alert, commonLang.tip.lengthByReportRemake, 'warning');
                        return ;
                    }
                }
                if(configType == '20'){
                    if(null == rows[i].reportCountType || "" == rows[i].reportCountType){
                        $.messager.alert(commonLang.tip.alert, commonLang.tip.toSaveCountType, 'warning');
                        return;
                    }
                }
                if (null == rows[i].configFieldNum || "" == rows[i].configFieldNum) {
                    $.messager.alert(commonLang.tip.alert, commonLang.tip.notNullByReportOutputNum, 'warning');
                    return;
                }
                if (null == rows[i].configFieldName || "" == rows[i].configFieldName) {
                    $.messager.alert(commonLang.tip.alert, commonLang.tip.notNullByReportOutputName, 'warning');
                    return;
                }
            }
            var datas = JSON.stringify(rows);
            $.ajax({
                type : 'post',
                dataType : 'json',
                url : 'platform/ReportFormConfigController/saveReportGroupConfig',
                data : {
                    datas : datas,
                    sysId : sysId,
                    templateId : templateId,
                    configType : configType
                },
                success : function(result) {
                    if (result.result == "success") {
                        $.messager.show({
                            title : commonLang.tip.alert,
                            msg : commonLang.optip.saveSuccess,
                        });
                        if(configType == '10'){
                            $('#reportConfigDetailsDataGrid').datagrid('reload', {});
                        }else if(configType == '20'){
                            $('#reportConfigDetailsDataGrid2').datagrid('reload', {});
                        }
                    } else {
                        $.messager.alert(commonLang.tip.alert, commonLang.optip.saveFailure, 'warning');
                    }
                }
            });
        }else{
            $.messager.alert(commonLang.tip.alert, commonLang.tip.toSaveHasOneDate, 'warning');
            return;
        }
    }

    //删除
    /**
     *commonLang.tip.alert:提示
     *toDeleteHasOneData:至少选择一条数据进行删除!
     *toDeleteSelectData:确定要删除选中的数据？
     *confirmBox:确认框
     *saveSuccess:删除成功
     *saveFailure:删除失败
     */
    function report_delete() {
        var rows = null;
        if(configType == '10'){
            rows = $('#reportConfigDetailsDataGrid').datagrid('getChecked');
        }else if(configType == '20'){
            rows = $('#reportConfigDetailsDataGrid2').datagrid('getChecked');
        }
        if (rows.length < 1) {
            $.messager.alert(commonLang.tip.alert, commonLang.tip.toDeleteHasOneData, 'warning');
            return;
        }
        var ids = [];
        $.messager.confirm(commonLang.tip.confirmBox, commonLang.tip.toDeleteSelectData,
            function(result) {
                if (result) {
                    for ( var i = 0; i < rows.length; i++) {
                        ids.push(rows[i].id);
                    }
                    $.ajax({
                        type : 'post',
                        url : 'platform/ReportFormConfigController/deleteReportGroupConfig',
                        dataType : 'json',
                        data : {
                            ids : ids.join(',')
                        },
                        success : function(result) {
                            if (result.flag == "success") {
                                $.messager.show({
                                    title : commonLang.tip.alert,
                                    msg : commonLang.optip.deleteSuccess
                                });
                                if(configType == '10'){
                                    $('#reportConfigDetailsDataGrid').datagrid('reload', {});
                                }else if(configType == '20'){
                                    $('#reportConfigDetailsDataGrid2').datagrid('reload', {});
                                }
                            } else {
                                $.messager.alert(commonLang.tip.alert, commonLang.optip.deleteFailure, 'warning');
                            }
                        }
                    });
                }
            });
    }


    /**
     * 转换【生成方式】
     *
     * @param value
     * @param row
     * @param index
     * @returns
     */
    function fomaterSelectCountType(value, row, index){
        var type = "";
        if (value == '1') {
            type = commonLang.fomaterType.max;// "最大值";
        } else if (value == '2') {
            type = commonLang.fomaterType.min;// "最小值";
        } else if (value == '3') {
            type = commonLang.fomaterType.misc;// "求和";
        } else if (value == '4') {
            type = commonLang.fomaterType.average;// "平均值";
        } else if (value == '5') {
            type = commonLang.fomaterType.scope;// "区间范围";
        }
        return type;
    }

    function onSelectCountType(record){
        var ed = $('#reportConfigDetailsDataGrid2').datagrid('getEditor', {index:selectIndex, field:'reportCountSymbol'});
        if("5" == record.lookupCode){
            $(ed.target).attr('disabled',false);
        }else{
            $(ed.target).attr('disabled','disabled');
        }

    }
</script>

<body>
<div id="reoprtConfigTabs" class="easyui-tabs" style="width: 500px; height: 250px;"
     data-options="fit:true">
    <div title='<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.groupconfigtabs","i18n.lantop",locale)%>' data-options="">
        <table id="groupTable">
            <div id="toolbarReportGroup" class="datagrid-toolbar">
                <sec:accesscontrollist hasPermission="3"
                                       domainObject="lrcds_bt_add">
                    <!-- 添加 -->
                    <a class="easyui-linkbutton" title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.databasesourceconfig.add","i18n.lantop",locale)%>" id="buttonAdd"
                       iconCls="icon-add" plain="true" onclick="report_add();"
                       href="javascript:void(0);"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.databasesourceconfig.add","i18n.lantop",locale)%></a>
                </sec:accesscontrollist>
                <sec:accesscontrollist hasPermission="3"
                                       domainObject="lrcds_bt_edit">
                    <!-- 保存 -->
                    <a class="easyui-linkbutton" title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.usercustomdatasource.save","i18n.lantop",locale)%>" id="buttonSave"
                       iconCls="icon-save" plain="true" onclick="report_save();"
                       href="javascript:void(0);"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.usercustomdatasource.save","i18n.lantop",locale)%></a>
                </sec:accesscontrollist>
                <sec:accesscontrollist hasPermission="3"
                                       domainObject="lrcds_bt_delete">
                    <!-- 删除 -->
                    <a class="easyui-linkbutton" title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.deletereoprtconfig","i18n.lantop",locale)%>" id="buttonDelete"
                       iconCls="icon-remove" plain="true" onclick="report_delete();"
                       href="javascript:void(0);"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.deletereoprtconfig","i18n.lantop",locale)%></a>
                </sec:accesscontrollist>
            </div>
            <table id="reportConfigDetailsDataGrid" class="easyui-datagrid"
                   data-options="
					rownumbers: true,
					animate: false,
					collapsible: false,
					fitColumns: true,
					autoRowHeight: false,
					singleSelect: false,
					pagination:true,
					pageSize:10,
					pageList:[10,20,50],
			   		striped:true,
			   		toolbar: '#toolbarReportGroup',
					fit:true,
					url: 'platform/ReportFormConfigController/getReportConfig?configType=10&templateId='+templateId+'&sysId='+sysId,
					method: 'post'
				">
                <thead>
                <tr>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_detailsId">
                        <!-- 字段名称：菜单id -->
                        <th data-options="field:'id', halign:'center',checkbox:true"
                            title="菜单ID" width="20"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.tablefieldid","i18n.lantop",locale)%></th>
                    </sec:accesscontrollist>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_remark">
                        <!-- 字段名称：说明 -->
                        <th
                                data-options="field:'remark', halign:'center', align:'center', sortable:true,editor:{type:'text'}"
                                width="100"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.tablefieldremark","i18n.lantop",locale)%></th>
                    </sec:accesscontrollist>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_configFieldName">
                        <!-- 字段名称：输出字段名称 -->
                        <th
                                data-options="field:'configFieldName', halign:'center', align:'center', sortable:true,
									editor:{type:'combobox',options:{editable:false,valueField:'text',textField:'text',onSelect:function(textField){
										if(configType == '10'){
											var ed = $('#reportConfigDetailsDataGrid').datagrid('getEditor', {index:selectIndex, field:'configFieldNum'});
											var tempConfigFieldNum = parseInt(textField.id)+1;
											$(ed.target).combobox('setValue', tempConfigFieldNum);
											$(ed.target).attr('disabled','disabled');
										}
									}, url:'platform/ReportFormConfigController/getConfigFieldName?configType=10&templateId='+templateId}}"
                                width="100"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.tablefieldconfigfieldname","i18n.lantop",locale)%><span
                                style="color: red; font-size: small;"> *</span></th>
                    </sec:accesscontrollist>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_configFieldNum">
                        <!-- 字段名称：输出字段位置 -->
                        <th
                                data-options="field:'configFieldNum', halign:'center',align:'center', sortable:true,editor:{type:'combobox',options:{editable:false}}"
                                width="100"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.tablefieldconfigfieldnum","i18n.lantop",locale)%><span
                                style="color: red; font-size: small;"> *</span></th>
                    </sec:accesscontrollist>
                </tr>
                </thead>
            </table>
        </table>
    </div>
    <div title='<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.countconfigtabs","i18n.lantop",locale)%>' data-options="">
        <table id="countTable">
            <div id="toolbarReportCount" class="datagrid-toolbar">
                <sec:accesscontrollist hasPermission="3"
                                       domainObject="lrcds_bt_add2">
                    <!-- 添加 -->
                    <a class="easyui-linkbutton" title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.databasesourceconfig.add","i18n.lantop",locale)%>" id="buttonAdd2"
                       iconCls="icon-add" plain="true" onclick="report_add();"
                       href="javascript:void(0);"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.databasesourceconfig.add","i18n.lantop",locale)%></a>
                </sec:accesscontrollist>
                <sec:accesscontrollist hasPermission="3"
                                       domainObject="lrcds_bt_edit2">
                    <!-- 保存 -->
                    <a class="easyui-linkbutton" title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.usercustomdatasource.save","i18n.lantop",locale)%>" id="buttonSave2"
                       iconCls="icon-save" plain="true" onclick="report_save();"
                       href="javascript:void(0);"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.usercustomdatasource.save","i18n.lantop",locale)%></a>
                </sec:accesscontrollist>
                <sec:accesscontrollist hasPermission="3"
                                       domainObject="lrcds_bt_delete2">
                    <!-- 删除 -->
                    <a class="easyui-linkbutton" title="<%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.deletereoprtconfig","i18n.lantop",locale)%>" id="buttonDelete2"
                       iconCls="icon-remove" plain="true" onclick="report_delete();"
                       href="javascript:void(0);"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.deletereoprtconfig","i18n.lantop",locale)%></a>
                </sec:accesscontrollist>
            </div>
            <table id="reportConfigDetailsDataGrid2" class="easyui-datagrid"
                   data-options="
					rownumbers: true,
					animate: false,
					collapsible: false,
					fitColumns: true,
					autoRowHeight: false,
					singleSelect: false,
					pagination:true,
					pageSize:10,
					pageList:[10,20,50],
			   		striped:true,
			   		toolbar: '#toolbarReportCount',
					fit:true,
					url: 'platform/ReportFormConfigController/getReportConfig?configType=20&templateId='+templateId+'&sysId='+sysId,
					method: 'post'
				">
                <thead>
                <tr>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_detailsId2">
                        <!-- 字段名称：菜单id -->
                        <th data-options="field:'id', halign:'center',checkbox:true"
                            title="菜单ID" width="20"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.tablefieldid","i18n.lantop",locale)%></th>
                    </sec:accesscontrollist>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_remark2">
                        <!-- 字段名称：说明 -->
                        <th
                                data-options="field:'remark', halign:'center', align:'center', sortable:true, editor:{type:'text'}"
                                width="100"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.tablefieldremark","i18n.lantop",locale)%></th>
                    </sec:accesscontrollist>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_configFieldName2">
                        <!-- 字段名称：输出字段名称 -->
                        <th
                                data-options="field:'configFieldName', halign:'center', align:'center', sortable:true,
									editor:{type:'combobox',options:{editable:false,valueField:'text',textField:'text',onSelect:function(textField){
										if(configType == '20'){
											var ed = $('#reportConfigDetailsDataGrid2').datagrid('getEditor', {index:selectIndex, field:'configFieldNum'});
											var tempConfigFieldNum = parseInt(textField.id)+1;
											$(ed.target).combobox('setValue', tempConfigFieldNum);
											$(ed.target).attr('disabled','disabled');
										}
									}, url:'platform/ReportFormConfigController/getConfigFieldName?configType=20&templateId='+templateId}}"
                                width="100"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.tablefieldconfigfieldname","i18n.lantop",locale)%><span
                                style="color: red; font-size: small;"> *</span></th>
                    </sec:accesscontrollist>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_configFieldNum2">
                        <!-- 字段名称：输出字段位置 -->
                        <th
                                data-options="field:'configFieldNum', halign:'center',align:'center', sortable:true,editor:{type:'combobox',options:{editable:false}}"
                                width="100"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.tablefieldconfigfieldnum","i18n.lantop",locale)%><span
                                style="color: red; font-size: small;"> *</span></th>
                    </sec:accesscontrollist>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_reportCountType">
                        <!-- 字段名称：统计类型 -->
                        <th
                                data-options="field:'reportCountType', halign:'center',align:'center', sortable:true,editor:{type:'combobox',options:{required:true,panelHeight: 'auto',
										valueField:'lookupCode',textField:'lookupName',data:[{lookupCode:1,lookupName:'最大值'},{lookupCode:2,lookupName:'最小值'},{lookupCode:3,lookupName:'求和'},
										{lookupCode:4,lookupName:'平均值'},{lookupCode:5,lookupName:'区间范围'}],editable:false,onSelect:onSelectCountType}},formatter:fomaterSelectCountType"
                                width="80"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.reportCountType","i18n.lantop",locale)%><span
                                style="color: red; font-size: small;"> *</span></th>
                    </sec:accesscontrollist>
                    <sec:accesscontrollist hasPermission="3"
                                           domainObject="lantopreportconfigdetails_lantop_report_config_datagrid_reportCountSymbol">
                        <!-- 字段名称：连接符 -->
                        <th
                                data-options="field:'reportCountSymbol', halign:'center', align:'center', sortable:true, editor:{type:'text'}"
                                width="60"><%=PlatformLocalesJSTL.getBundleValue("lantop.basicdatamanager.reportmanager.ReportConfiguration.reportCountSymbol","i18n.lantop",locale)%>
                        </th>
                    </sec:accesscontrollist>
                </tr>
                </thead>
            </table>
        </table>
    </div>
</div>
</body>
</html>